<?php

session_start();

require_once ( 'constant.inc.php');
require_once ( CLASSES_DIR . 'EDPLogger.php' );
require_once ( FUNCTIONS_DIR . 'classloader.php' );
require_once ( FUNCTIONS_DIR . 'general.php' );

require_once( 'lib/functions/preload.php' );

set_error_handler( 'edp_error_handler' );
set_exception_handler('exception_handler');
register_shutdown_function( "page_exit_handler" );

// repeated commit prevention system
require_once 'config/RCP.php';


require_once ( CONFIG_DIR . 'EventCode.php' );
require_once ( CONFIG_DIR . 'db_config.inc.php' );
require_once ( CONFIG_DIR . 'email_config.inc.php' );

require_once ( CONFIG_DIR . 'page_name_config.php' );
require_once ( CONFIG_DIR . 'globalvars.php' );
require_once( FUNCTIONS_DIR . 'userAuth.inc.php' );
require_once( CONFIG_DIR . 'PageAuthentication.php' );
require_once( LIB_DIR . 'api/general.php' );
require_once( CONFIG_DIR . 'ValidationReg.php');
require_once( CONFIG_DIR . 'InputValidation.php');
require_once( CONFIG_DIR . 'CacheConfig.php' );
require_once( CONFIG_DIR . 'ResourceControl.php');

?>